#include<bits/stdc++.h>
using namespace std;

int main(){
  double a,b;
  cin>>a>>b;
  double ans=a/b;
   if(ans>=0)cout<<(int)(ans+0.5)<<endl;
   else cout<<(int)(ans-0.5) <<endl;
//  cout<<round(ans)<<endl;
//  printf("%0.f\n",ans);
//  cout<<fixed<<setprecision(0)<<ans<<endl;
  return 0;
}
